export const createDispatch = (dispatch) => {
  fetch('https://api.i-lynn.cn/college')
    .then((ret) => ret.json())
    .then((ret) => {
      dispatch({
        type: 'num',
        payload: ret,
      })
    })
}
